// 根据环境来选择api地址
let baseUrl = window.location.hostname;
let BASE_URL_FOR_API = "";
console.log(baseUrl)
switch (baseUrl) {
    case "localhost":
        BASE_URL_FOR_API = 'https://staging-api.huoxingy.com/';
        break;
    case "staging-membership.huoxingy.com":
        BASE_URL_FOR_API = 'https://staging-api.huoxingy.com/';
        break;
    case "prod-test-membership.huoxingy.com":
        BASE_URL_FOR_API = 'https://prod-test-api.huoxingy.com/';
        break;
    default:
        BASE_URL_FOR_API = 'https://prod-api.huoxingy.com/';
        break;
}
//
export const API_BASE_URL = BASE_URL_FOR_API;
